<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
    <title>Document</title>
</head>
<body>
    <div id="ex">
        <div>
            <form :style="searchForm">
                <input :style="OOO  placeholder="搜索" type="text">
                <input :style="searchButton" value="搜索" type="submit">
            </form>
        </div>
    </div>
    <script>
        let vm = new Vue(
            {
                el:'#ex',
                data:{
                    searchForm:{
                        border:'2px solid #f03726',
                        'max-width':'670px'
                    },
                    searchInput:{
                        'padding-left':'5px',
                        height:'44px',
                        width:'78%',
                        outline:'none',
                        'font-size':'12px',
                        border:'none'
                    },
                    searchButton:{
                        height:'46px',
                        width:'20%',
                        float:'right',
                        background:'#f03726',
                        color:'#f5f5f2',
                        'font-size':'18px',
                        cursor:'pointer',
                        border:'none',
                        outline:'none'
                    }
                }
            }
        )
    </script>
</body>
</html>